package com.ruoyi.cert.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 颁发机构对象 cert_organization
 *
 * @author mxh
 * @date 2023-03-26
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
@ToString
public class CertOrganization extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 认证单位名称
     */
    @Excel(name = "认证单位名称")
    private String name;

    /**
     * 说明
     */
    @Excel(name = "说明")
    private String info;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private Integer status;

    /**
     * 电子公章地址
     */
    @Excel(name = "电子公章地址")
    private String cachet;

    /**
     * 机构id
     */
    @Excel(name = "机构id")
    private Long deptId;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /**
     * 删除标识 1已删除
     */
    private Integer delFlag;

    /**
     * 预留字段1
     */
    @Excel(name = "预留字段1")
    private String reservedOne;

    /**
     * 预留字段2
     */
    @Excel(name = "预留字段2")
    private String reservedTwo;

}
